using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;

using ESBSimpleSamples.ServiceClient.ServiceRequests;
using ESBSimpleSamples.Client.Entities;
using ESBSimpleSamples.ServiceClient.Itineraries;


namespace ESBSimpleSamples.Client.ServiceRequests.Wcf
{
    public class GetASCIICode : ESBServiceRequest<GetASCIICodeRequest, GetASCIICodeResponse>
    {
        public override ItineraryRequest PrepareRequest()
        {
            ItineraryBuilder builder = new ItineraryBuilder();
            builder.AddRoutingService("ESBSimpleSamples", "GetASCIICode.WCF");
            builder.AddRequestResponseService();

            ItineraryRequest request = new ItineraryRequest();
            request.Header = builder.GetItinerary();
            request.Body = this.GetRequestBody();

            return request;
        }
    }
}
